+2008-03-20 Juanma Barranquero <lekktu@gmail.com>
+
+ * addpm.c: Include malloc.h.
+ (add_registry): Cast return value of alloca.
+
2008-02-11 Jason Rumney <jasonr@gnu.org>
* addpm.c (add_registry): Add an App Paths registry key.
HKEY gtk_key = NULL;
len = strlen (path) + 15; /* \bin\emacs.exe + terminator. */
- emacs_path = alloca (len);
+ emacs_path = (char *) alloca (len);
sprintf (emacs_path, "%s\\bin\\emacs.exe", path);
RegSetValueEx (hrootkey, NULL, 0, REG_SZ, emacs_path, len);